import request from '@/utils/request'

// 查询wcs日志列表
export function listWcs_log(query) {
  return request({
    url: '/wcs/wcs_log/list',
    method: 'get',
    params: query
  })
}

// 查询wcs日志详细
export function getWcs_log(id) {
  return request({
    url: '/wcs/wcs_log/' + id,
    method: 'get'
  })
}

// 新增wcs日志
export function addWcs_log(data) {
  return request({
    url: '/wcs/wcs_log',
    method: 'post',
    data: data
  })
}

// 修改wcs日志
export function updateWcs_log(data) {
  return request({
    url: '/wcs/wcs_log',
    method: 'put',
    data: data
  })
}

// 删除wcs日志
export function delWcs_log(id) {
  return request({
    url: '/wcs/wcs_log/' + id,
    method: 'delete'
  })
}

// 导出wcs日志
export function exportWcs_log(query) {
  return request({
    url: '/wcs/wcs_log/export',
    method: 'get',
    params: query
  })
}